﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace T.E.ERP.Write.API.Applicantions.Command.CheckCommand
{
    public class AddArrivalCheckCommand:IRequest<APIResult<object>>
    {
        public long Id { get; set; }

        /// <summary>
        /// 质检工单主题
        /// </summary>
        public string? Theme { get; set; }

        /// <summary>
        /// 来源ID(采购入库单据Id)
        /// </summary>
        public Guid? SourceId { get; set; }

        /// <summary>
        /// 所有物料名称
        /// </summary>
        public string? MaterialsName { get; set; }

        /// <summary>
        /// 质检状态 0未完成  1完成
        /// </summary>
        public int? CheckStatus { get; set; } = 0;

        /// <summary>
        /// 质检部门Id
        /// </summary>
        public int? CheckDempt { get; set; }

        /// <summary>
        /// 质检负责人
        /// </summary>
        public string? CheckUser { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateUser { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateUser { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; } = DateTime.Now;
    }
}
